remove totally broken unused, non-compiling, static function.
authorMatt Wilson <msw@redhat.com>
Fri, 2 Nov 2001 14:49:37 +0000 (14:49 +0000)
committerMatt Wilson <msw@src.gnome.org>
Fri, 2 Nov 2001 14:49:37 +0000 (14:49 +0000)
2001-11-02  Matt Wilson  <msw@redhat.com>

* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkdialog.c

index d422297b6e77f994bb9fef7490201ab700459065..d683f6d147652defa0867423f9c762d5856989af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-02  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkdialog.c (find_child_by_response_id): remove totally
+       broken unused, non-compiling, static function.
+
 Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): 
index d422297b6e77f994bb9fef7490201ab700459065..d683f6d147652defa0867423f9c762d5856989af 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-02  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkdialog.c (find_child_by_response_id): remove totally
+       broken unused, non-compiling, static function.
+
 Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): 
index d422297b6e77f994bb9fef7490201ab700459065..d683f6d147652defa0867423f9c762d5856989af 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-02  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkdialog.c (find_child_by_response_id): remove totally
+       broken unused, non-compiling, static function.
+
 Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): 
index d422297b6e77f994bb9fef7490201ab700459065..d683f6d147652defa0867423f9c762d5856989af 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-02  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkdialog.c (find_child_by_response_id): remove totally
+       broken unused, non-compiling, static function.
+
 Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): 
index d422297b6e77f994bb9fef7490201ab700459065..d683f6d147652defa0867423f9c762d5856989af 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-02  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkdialog.c (find_child_by_response_id): remove totally
+       broken unused, non-compiling, static function.
+
 Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): 
index d422297b6e77f994bb9fef7490201ab700459065..d683f6d147652defa0867423f9c762d5856989af 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-02  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkdialog.c (find_child_by_response_id): remove totally
+       broken unused, non-compiling, static function.
+
 Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): 
index d422297b6e77f994bb9fef7490201ab700459065..d683f6d147652defa0867423f9c762d5856989af 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-02  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkdialog.c (find_child_by_response_id): remove totally
+       broken unused, non-compiling, static function.
+
 Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): 
index 12325f7e90ce90fa5b77bd4fb75af2ea5661f36d..9fce66aea958cfb1e4a8b62a371e3a070b89816b 100644 (file)
@@ -613,34 +613,6 @@ gtk_dialog_add_buttons (GtkDialog   *dialog,
   va_end (args);
 }
 
-static GtkWidget *
-find_child_by_response_id (GtkDialog *dialog,
-                          gint       response id)
-{
-  GList *children;
-  GList *tmp_list;
-  GtkWidget *result = NULL:
-
-  children = gtk_container_get_children (GTK_CONTAINER (dialog->action_area));
-
-  tmp_list = children;
-  while (tmp_list != NULL)
-    {
-      GtkWidget *widget = tmp_list->data;
-      ResponseData *rd = g_object_get_data (G_OBJECT (widget),
-                                            "gtk-dialog-response-data");
-
-      if (rd && rd->response_id == response_id)
-       {
-         result = widget;
-        gtk_widget_set_sensitive (widget, setting);
-
-      tmp_list = g_list_next (tmp_list);
-    }
-
-  g_list_free (children);
-}
-
 /**
  * gtk_dialog_set_response_sensitive:
  * @dialog: a #GtkDialog